#include "ChangeConveyorStatus.h"

ChangeConveyorStatus::ChangeConveyorStatus(DiscHandling::ConveyorDirection dir) {
	// Use requires() here to declare subsystem dependencies
	// eg. requires(chassis);
	d = dir;
}

// Called just before this Command runs the first time
void ChangeConveyorStatus::Initialize() {

}

// Called repeatedly when this Command is scheduled to run
void ChangeConveyorStatus::Execute() {
	discHandling->ControlConveyorState(d);
}

// Make this return true when this Command no longer needs to run execute()
bool ChangeConveyorStatus::IsFinished() {
	return true;
}

// Called once after isFinished returns true
void ChangeConveyorStatus::End() {

}

// Called when another command which requires one or more of the same
// subsystems is scheduled to run
void ChangeConveyorStatus::Interrupted() {
}
